package com.yztstudy.service;

import com.yztstudy.dto.Result;
import com.yztstudy.entity.VoucherOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * VoucherOrder的业务逻辑层接口
 */
public interface IVoucherOrderService extends IService<VoucherOrder> {

    public abstract Result seckillVoucher(Long voucherId); //抢购秒杀优惠券

    public abstract Result createVoucher(Long voucherId); //新增优惠券订单
}
